#!/usr/bin/env python
# -*- coding: UTF-8 -*-

import lazyxml

s = '<?xml version="1.0" encoding="utf-8"?>\r\n<string xmlns="http://interface.itl.cn/STD/ITLServiceInterFace.asmx">&lt;Requestinterface_Withdrawals_Return&gt;\r\n\t&lt;CustID&gt;1300002374&lt;/CustID&gt;\r\n\t&lt;CompID&gt;1100002153&lt;/CompID&gt;\r\n\t&lt;Items&gt;\r\n\t\t&lt;WithdrawalsResponseItem&gt;\r\n\t\t\t&lt;Cust_OrderCode&gt;12081511000183&lt;/Cust_OrderCode&gt;\r\n\t\t\t&lt;OrderType&gt;1&lt;/OrderType&gt;\r\n\t\t\t&lt;Result&gt;false&lt;/Result&gt;\r\n\t\t\t&lt;InfoCode&gt;0003&lt;/InfoCode&gt;\r\n\t\t\t&lt;Reason&gt;\u8ba2\u5355\u72b6\u6001\u4e0d\u5728\u64a4\u5355\u8303\u56f4&lt;/Reason&gt;\r\n\t\t&lt;/WithdrawalsResponseItem&gt;\r\n\t&lt;/Items&gt;\r\n&lt;/Requestinterface_Withdrawals_Return&gt;</string>'
print lazyxml.loads(s, unescape=True)


""" vim: set ts=4 sts=4 sw=4 et ai: """